package my.app;

import android.content.Context;

public class Settings {
	
	private String username;
	private String password;
	private static Settings instance = null;
	private double lat = 40.142000;
	private double lon = 26.415000;
	private String host = "http://kaan.ozdincer.com/dclisp/service.php";
	
	private Settings() {
		username = "demo";
		password = "demo";
		
	}
	
	public static Settings getInstance() {
		if(instance == null) {
	         instance = new Settings();
	    }
	      
		return instance;

		
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsername() {
		return username;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public double getLat() {
		return lat;
	}

	public void setLon(double lon) {
		this.lon = lon;
	}

	public double getLon() {
		return lon;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getHost() {
		return host;
	}

}
